﻿using UnityEngine;
using System.Collections;

public class SwimmerController : MonoBehaviour {
    public float speed = 4.0f;
    public Vector3 direction = new Vector3(0, 0, 1);
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
        rigidbody.velocity = direction * speed;
       // transform.position = transform.position + (direction * speed * Time.deltaTime);
	}
}
